These VBScript examples run in Internet Information Server (IIS). In order to run the examples, you need to configure an IIS virtual directory that points to the physical directory where the examples are installed.
Examples in this folder are Web server scripts: the page, including OPC data, is generated on the server. The EasyOPC component must be installed on the server side, and the OPC server(s) must be accessible locally or remotely from the computer where EasyOPC component resides.
The server must be in the Web Server (IIS) role, and in it, make sure you have the "Web Server -> Application Development -> ASP" role service.
The identity under which the Web app's application pool runs is important. It needs to have permissions to all required files and operations. In addition, you need to set the "Managed pipeline mode" of the application pool to "Classic" (not the default "Integrated").
The examples here run inside Internet Explorer (IE), i.e. directly on client. No Web server is required. The EasyOPC component must be installed on the client side, and the OPC server(s) must be accessible locally or remotely from the computer where EasyOPC component resides.
The examples here run in Windows Script Host (WSH), e.g. from Windows Command Prompt.
It is possible to use CScript (console output) or WScript (window output) to run the examples. Some examples give longer output, and CScript is better for them as you do not have to confirm each “line” of output by pressing a button as in WScript.